package com.yidu.t299.domain.xp;

import java.io.Serializable;

/**
 * 采用Mybatis逆向生成自动生成
 *  -- 许盼
 */
public class Class implements Serializable {
    /*
     有一些字段不需要显示出来 所以为空时等于0 前端传过来调用方法赋值
     就不会出现xx字段不能为空的bug
    */
    private Integer classId=0;
    private String className="";
    private String classType="";
    private String startclassTime="";
    private Integer startclassNum=0;
    private Integer classroomId=0;
    private Integer schoolId=0;
    private Integer recordId=0;
    private Integer lessonId=0;

    //相关联表的属性
    private School school;

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassType() {
        return classType;
    }

    public void setClassType(String classType) {
        this.classType = classType;
    }

    public String getStartclassTime() {
        return startclassTime;
    }

    public void setStartclassTime(String startclassTime) {
        this.startclassTime = startclassTime;
    }

    public Integer getStartclassNum() {
        return startclassNum;
    }

    public void setStartclassNum(Integer startclassNum) {
        this.startclassNum = startclassNum;
    }

    public Integer getClassroomId() {
        return classroomId;
    }

    public void setClassroomId(Integer classroomId) {
        this.classroomId = classroomId;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public Integer getLessonId() {
        return lessonId;
    }

    public void setLessonId(Integer lessonId) {
        this.lessonId = lessonId;
    }

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    @Override
    public String toString() {
        return "Class{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", classType='" + classType + '\'' +
                ", startclassTime='" + startclassTime + '\'' +
                ", startclassNum=" + startclassNum +
                ", classroomId=" + classroomId +
                ", schoolId=" + schoolId +
                ", recordId=" + recordId +
                ", lessonId=" + lessonId +
                ", school=" + school +
                '}';
    }
}